How to make a stand-alone.

Written for Spitfire MkVIIIc AX-W. For other skins, simply make up your own names.

Owing to the number of mods I've done, some of which are not freeware or are not yet for release, it is not easy for me to 
distribute repainted aircraft without taking the risk of standing on somebody's copyright or feelings! so please bear with me 
- if you already know this, then skip it, there's nothing new, but if you don't, then you might find it useful.

First, create a new folder in CFS3\aircraft. Give it a name you'll recognize easily(!), such as : Spitfire MkVIIIc AX-W
Copy the contents of your spitfire_ixc folder into it. Delete the .bdp file and all the .dds files except spitfire_ixc_s.dds and 
spitfire_ixc_t.dds. (CFS3 looks for texture files throughout the entire game, so any single texture file - and therefore 
texture file name - should appear only once in the entire Combat Flight Simulator 3 installation. If you have two different 
texture files with the same name, even if one is in, say, the vehicle folder, you will have no control over which one will 
appear. This can be useful for AI aircraft to get a bit of variety without cluttering up your hard drive with lots of extra 
folders, but otherwise, it is a nuisance. CFS2 was easier...)

Start with the .AIR file. Rename it to whatever you want to call your new aircraft; I have not found any limit to the number of 
letters, BUT: do not use accents, do not begin the name with a figure, or you will not be able to attribute type-specific 
sounds to AI-flown aircraft in the 'sounds' file (a big 'Hello' to the people at AvHistory! I found out the hard way, too!),
 and, for the same reason, do not leave blank spaces between characters. So let's say we've called it 
Spitfire_MkVIIIc_AX-W.air, which I think should be easy enough to remember when we've got the hard drive overflowing with 
home-made stand-alones...

Now open the aircraft.cfg with notepad (make it the default editor for .cfg files, it saves time); the top of it looks 
like this:

[fltsim.0]
title=Spitfire MkIXc
sim=Spitfire_IXc
model=Spitfire_IXc

You simply need to paste in your new name, without the  .air tag, into the sim and model lines (the title line is redundant, 
and a left-over from earlier sims:

[fltsim.0]
title=Spitfire MkIXc
sim=Spitfire_MkVIIIc_AX-W
model=Spitfire_MkVIIIc_AX-W

Save and close.

Now rename the .xdp file from Spitfire_IXc.xdp to Spitfire_MkVIIIc_AX-W.xdp: use the new name, followed by the tag .xdp
Then open the .xdp file, again with notepad. The top looks like this:

<?xml version="1.0"?>
<UnitData>
   <General Allegience="0" LongName="Spitfire IXc" ShortName="Spitfire IXc" ModelName="Spitfire_IXc.m3d" BlastDamageScale="1.0" ImpactDamageScale="1.0" FireDamageScale="1.0" Priority="1" Type="moving" EnteredService="01/01/1943" LeftService="12/1/1957" BlastDamageMod="1" ImpactDamageMod="1" FireDamageMod="1" Category="fighter_bomber" Country="britain" AllowSpawn="y" InfoURL="help\topics\infospit.htm" ChecklistURL="help\topics\infospit.htm"/>
   <GunStations>

You need to change the long name - it does not seem to matter how long you make it, but again, do not use accents. Change 
the short name for a...short name! which you'll recognize, and then change the model name for the new one. When you've done, 
it'll look like this:

<?xml version="1.0"?>
<UnitData>
   <General Allegience="0" LongName="Spitfire MkVIIIc AX-W JF626, Maj Henry Gaynor, No.1 Sqn SAAF, Italy, Dec 1943" ShortName="Spit VIIIC" ModelName="Spitfire_MkVIIIc_AX-W.m3d" BlastDamageScale="1.0" ImpactDamageScale="1.0" FireDamageScale="1.0" Priority="1" Type="moving" EnteredService="01/01/1943" LeftService="12/1/1957" BlastDamageMod="1" ImpactDamageMod="1" FireDamageMod="1" Category="fighter_bomber" Country="britain" AllowSpawn="y" InfoURL="help\topics\infospit.htm" ChecklistURL="help\topics\infospit.htm"/>
   <GunStations>

Save and close.

Then, re-name the two, or however many there are, .m3d files to the new name.

spitfire_ixc.m3d becomes Spitfire_MkVIIIc_AX-W.m3d, and spitfire_ixc_cockpit0.M3D becomes Spitfire_MkVIIIc_AX-W_cockpit0.M3D,
 and so on.

The only remaining unchanged files you have are: spitfire_ixc_s.dds, spitfire_ixc_t.dds and spitfire_ixc_t.mos.

This is the fun part. You need to re-name these so they have PRECISELY the same number of characters before and after.

I have used spit_Mk8_AXW_t.dds, spit_Mk8_AXW_s.dds and spit_Mk8_AXW_t.mos. 14 spaces.

Then you need a Hex editor - don't be frightened, if I can do it it's got to be easy! I use a freeware one called 
Hex-editor XVI32 by Christian Maas from http://www.chmaas.handshake.de. It's very easy to use. 

Open the Spitfire_MkVIIIc_AX-W.m3d file with the hex editor and search (in text string) for spitfire_ixc_t.dds (etc).
Unlike CFS2 models, where the texture file names appear loads of times, here it'll be just once. Type in the new texture 
names, spit_Mk8_AXW_t.dds and spit_Mk8_AXW_s.dds over the old ones, and save. Do the same for the cockpit, if necessary -  
sometimes the external texture _t.dds and _s.dds files are not used in the cockpit - and save. Do not change the names of 
the cockpit texture files - here spitfire_ixc_c.dds. The game will find them wherever they are.

Then do the same for the .mos file if one is not supplied with the download; only spitfire_ixc_t.dds needs changing here. 
Change it to the new _t.dds name, just as you did above. Do not worry about the other .dds files. Rename the .mos file to 
the same name as the _t.dds file, but substitute the .mos tag for .dds. So here, as the new _t.dds is spit_Mk8_AXW_t.dds, 
the new .mos file will be called spit_Mk8_AXW_t.mos.

And that, all being well, is that. You are the proud owner of your own stand-alone kite.

Two final  things - you may notice that my spit_Mk8_AXW_s.dds is simply a uniform darkish grey square; this is because MS 
tried to be clever, and use different shades of grey to indicate different degrees of shininess. Fair enough for a bare metal 
aircraft with painted-on matt insignia, but for an overall camouflage painted one, it is not necessary for it to show any 
detail except perhaps for the undercart oleo legs and wheel hubs.

Then, if you are modifying a stock aircraft, the modified stock .mos file will continue to stick code letters on your new 
stand-alone when it appears as a UI or AI plane; for stock aircraft, I generally include a new .mos file which does not 
have the paint-codes-noseart possibilities, so this is best when you do not want to see your new plane disfigured by 
inappropriate markings. For freeware new aircraft, this is not normally necessary.



